
package com.scalar.chiptrack.alarms;


public final class Comment {

    private long m_createdOn = -1;
    private String m_createdBy = null;
    private String m_comment = null;

    public Comment (String createdBy, String comment) {
        m_createdOn = System.currentTimeMillis();
        m_createdBy = createdBy;
        m_comment = comment;
    }

    public Comment (long createdOn, String createdBy, String comment) {
        m_createdOn = createdOn;
        m_createdBy = createdBy;
        m_comment = comment;
    }
    
    public long getCreatedOn() {
    	return m_createdOn;
    }

    public String getCreatedBy() {
    	return m_createdBy;
    }

    public String getComment() {
    	return m_comment;
    }

    public void setComment (String comment) {
        m_comment = comment;
    }
}